package zcw.com.lib_leet_code.bean;

/**
 * Created by 朱城委 on 2019/5/6.<br><br>
 * 节点类
 */
public class TreeNode {
    public int val;
    public TreeNode left;
    public TreeNode right;

    public TreeNode() {

    }

    public TreeNode(int x) {
        val = x;
    }

    @Override
    public String toString() {
        return String.valueOf(val);
    }
}
